﻿using System.ServiceProcess;
using System.Threading;

namespace SDT.Services.UCService
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            //new UCService().Run();
            //while (true)
            //    Thread.Sleep(1000*2);

            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] 
            { 
                new UCService() 
            };

            ServiceBase.Run(ServicesToRun);
        }
    }
}